package io.xxx.mario.robot;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Robot {

    @TableId
    private Long id;

    private String wxId;

    private String nickName;

    private String qrcode;

    private Integer friendCount;

    private Integer joinedRoomCount;

    private Integer leavedRoomCount;

    private boolean enabled;

    private Long puppetId;

    private String token;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedTime;
}
